import Vue from 'vue'
import App from './App.vue'
import LazyLoad from 'vue-lazyload'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import Vant from 'vant';
import 'vant/lib/index.css';

Vue.config.productionTip = false

Vue.use(LazyLoad, {
  loading: 'https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1578388998162&di=6cc7758e325c832cffe958c4bb44341b&imgtype=0&src=http%3A%2F%2Fwww.4399dmw.com%2Fimages%2Fwap%2Fwapdonghua%2Fv1%2Floading.gif',
  error: 'https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=171479661,4246113578&fm=26&gp=0.jpg'
})

Vue.use(ElementUI)
Vue.use(Vant)

new Vue({
  render: h => h(App),
}).$mount('#app')
